package itsm.isperp.module.entity.project;

import itsm.isperp.framework.domain.BaseBean;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 会计分录
 * 
 * @author lizx
 * @date 2013-10-2
 */
@Entity
@Table(name = "proj_cost_accounting_entry")
public class ProjCostAccountingEntry extends BaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Column
	String costTemplateId;

	@Column
	String relationId;

	@Column
	String projectId;

	@Column
	float amount;

	@Column
	String handlerId;

	@Column
	String handlerName;

	@Column
	Date occurrenceDate;

	@Column
	String memo;

	public String getCostTemplateId() {
		return costTemplateId;
	}

	public void setCostTemplateId(String costTemplateId) {
		this.costTemplateId = costTemplateId;
	}

	public String getRelationId() {
		return relationId;
	}

	public void setRelationId(String relationId) {
		this.relationId = relationId;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public float getAmount() {
		return amount;
	}

	public void setAmount(float amount) {
		this.amount = amount;
	}

	public String getHandlerId() {
		return handlerId;
	}

	public void setHandlerId(String handlerId) {
		this.handlerId = handlerId;
	}

	public String getHandlerName() {
		return handlerName;
	}

	public void setHandlerName(String handlerName) {
		this.handlerName = handlerName;
	}

	public Date getOccurrenceDate() {
		return occurrenceDate;
	}

	public void setOccurrenceDate(Date occurrenceDate) {
		this.occurrenceDate = occurrenceDate;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

}
